updating oE optimize

optimize

include map.e 
namespace map 
public procedure optimize(map the_map_p, integer deprecated_max_p = 0, 
        atom deprecated_grow_p = 0) 

rehashes a map to increase performance. This procedure is deprecated in favor of rehash.

Parameters:
  1. the_map_p : the map being optimized
  2. deprecated_max_p : unused
  3. deprecated_grow_p : unused.
Comments:

This rehashes the map until either the maximum bucket size is less than the desired maximum or the maximum bucket size is less than the largest size statistically expected (mean + 3 standard deviations).

See Also:

statistics, rehash

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu